package com.woniu.his.dms.common;


import com.woniu.his.result.ResultCode;

public enum DmsResultCode implements ResultCode {

    DEMO_CODE(300, "DEMO_CODE 请删除"),
    CASE_HISTORY_NOT_EXITS(6001, "病例不存在"),
    DISE_CANNOT_USE(6002,"疾病不可用"),
    CASE_MODEL_CATALOG_NOT_EXISTS(6003,"病历模板目录不存在"),
    THIS_CASE_MODEL_CATALOG_EXISTS_CASE_MODEL(6004,"该病历模板目录下存在病历模板"),
    CAN_NOT_FIND_PATIENT(6005, "找不到病人id"),
    CASE_MODEL_NOT_EXISTS(6006,"病历模板不存在"),
    THIS_CASE_MODEL_CATALOG_CANNOT_ADD_CATALOG(6007,"该目录下不能再增加目录（已经存在模板）"),
    PART_CASE_MODEL_ALREADY_DELETED(6008,"部分病历模板已被删除"),
    CAN_NOT_FIND_DOCTOR(6006, "找不到医生id"),
    CAN_NOT_FIND_SKD(6007, "找不到排班"),
    DISE_NOT_EXISTS(6008,"疾病不存在")
    ;

    private int code;
    private String message;

    private DmsResultCode(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }
}
